package com.holdtime.jtt809.taxi.module.nosql.model;

import com.holdtime.aliyun.tablestore.annotation.TsField;
import com.holdtime.aliyun.tablestore.annotation.TsTable;

/**
 * author: sunwei
 * Date: 2023/7/13 11:58
 * Description:
 */
@TsTable(name = "taxi_location")
public class TsLocationInfo {
    public static final String PART_KEY = "part_key";

    public static final String VEHICLE_NO = "vehicle_no";

    public static final String UPLOAD_TIME = "upload_time";

    public static final String VEHICLE_COLOR = "vehicle_color";
    public static final String LON = "lon";// 经度
    public static final String LAT = "lat";// 纬度
    public static final String SPS = "sps";// 卫星定位速度
    public static final String DRS = "drs";// 行驶记录速度
    public static final String MILEAGE = "mileage";// 总里程
    public static final String DIRECTION = "direction";// 方向
    public static final String ALTITUDE = "altitude";// 海拔高度
    public static final String STATE = "state";// 车辆状态
    public static final String ALARM = "alarm";// 报警状态
    @TsField(name = PART_KEY, primaryKey = true)
    private String partKey;
    @TsField(name = VEHICLE_NO, primaryKey = true)
    private String vehicleNo;
    @TsField(name = UPLOAD_TIME, primaryKey = true)
    private Long uploadTime;
    @TsField(name = VEHICLE_COLOR)
    private String vehicleColor;
    @TsField(name = LON)
    private String lon;
    @TsField(name = LAT)
    private String lat;
    @TsField(name = SPS)
    private Integer sps;
    @TsField(name = DRS)
    private Integer drs;
    @TsField(name = MILEAGE)
    private Integer mileage;
    @TsField(name = DIRECTION)
    private Integer direction;
    @TsField(name = ALTITUDE)
    private Integer altitude;
    @TsField(name = STATE)
    private Integer state;
    @TsField(name = ALARM)
    private Integer alarm;

    public String getPartKey() {
        return partKey;
    }

    public void setPartKey(String partKey) {
        this.partKey = partKey;
    }

    public String getVehicleNo() {
        return vehicleNo;
    }

    public void setVehicleNo(String vehicleNo) {
        this.vehicleNo = vehicleNo;
    }

    public Long getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Long uploadTime) {
        this.uploadTime = uploadTime;
    }

    public String getVehicleColor() {
        return vehicleColor;
    }

    public void setVehicleColor(String vehicleColor) {
        this.vehicleColor = vehicleColor;
    }

    public String getLon() {
        return lon;
    }

    public void setLon(String lon) {
        this.lon = lon;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public Integer getSps() {
        return sps;
    }

    public void setSps(Integer sps) {
        this.sps = sps;
    }

    public Integer getDrs() {
        return drs;
    }

    public void setDrs(Integer drs) {
        this.drs = drs;
    }

    public Integer getMileage() {
        return mileage;
    }

    public void setMileage(Integer mileage) {
        this.mileage = mileage;
    }

    public Integer getDirection() {
        return direction;
    }

    public void setDirection(Integer direction) {
        this.direction = direction;
    }

    public Integer getAltitude() {
        return altitude;
    }

    public void setAltitude(Integer altitude) {
        this.altitude = altitude;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getAlarm() {
        return alarm;
    }

    public void setAlarm(Integer alarm) {
        this.alarm = alarm;
    }
}
